package com.bobo.nutzbook.module;

import org.nutz.dao.Dao;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.lang.random.R;
import org.nutz.log.Log;
import org.nutz.log.Logs;

import com.bobo.nutzbook.service.EmailService;

public class BaseModule {

	protected static final Log log = Logs.get();
	
	@Inject //注入同名的一个ioc对象
	protected Dao dao;
	
	@Inject("refer:emailService")
	protected EmailService emailService;
	
	protected byte[] emailKEY = R.sg(24).next().getBytes();
}
